AR = ar

SRCS = \
	main.c

CUR_DIR = $(pwd)
INC_DIR = -I../include
STATIC_LIB_DIR = ../dyna_lib

LIB = -lf1 -lf2 -L$(STATIC_LIB_DIR)
OBJS  := $(SRCS:%.c=%.o)
TARGET := test

CFLAGS += $(INC_DIR)
all: $(TARGET)

$(TARGET):$(OBJS)
	gcc -rdynamic $(CFLAGS) -o $@ $^ -ldl
	
.PRONY:clean  
clean:  
	rm -f $(OBJS) $(TARGET)